<template>
	<view class="px-2">
		<i-loading v-if="loading" />
		<i-news-list :resdata="newsList" />
		<i-list-left :resdata="newsList" />
		<i-list-right :resdata="newsList" />
	</view>
</template>

<script>
	export default {
		data() {
			return {
				newsList:[
					{
						title      : '王者',
						author     : '刀哥',
						createTime : '2024.09.05',
						imgs       : ['https://images.unsplash.com/photo-1663717249302-40e087724495?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxlZGl0b3JpYWwtZmVlZHw0OXx8fGVufDB8fHx8&auto=format&fit=crop&w=200&q=80'],
						views      : 98052
					},
					{
						id         : 2, 
						title      : '新闻',
						author     : '作者',
						createTime : '2024.09.05',
						imgs       : [
							'https://images.unsplash.com/photo-1663717249302-40e087724495?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxlZGl0b3JpYWwtZmVlZHw0OXx8fGVufDB8fHx8&auto=format&fit=crop&w=200&q=80',
							'https://images.unsplash.com/photo-1663717249302-40e087724495?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxlZGl0b3JpYWwtZmVlZHw0OXx8fGVufDB8fHx8&auto=format&fit=crop&w=200&q=80'
						],
						views      : 8052
					},
					{
						title      : '新闻资讯',
						author     : '作者',
						createTime : '2024.09.05',
						imgs       : [
							'https://images.unsplash.com/photo-1663717249302-40e087724495?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxlZGl0b3JpYWwtZmVlZHw0OXx8fGVufDB8fHx8&auto=format&fit=crop&w=200&q=80',
							'https://images.unsplash.com/photo-1663717249302-40e087724495?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxlZGl0b3JpYWwtZmVlZHw0OXx8fGVufDB8fHx8&auto=format&fit=crop&w=200&q=80',
							'https://images.unsplash.com/photo-1663717249302-40e087724495?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxlZGl0b3JpYWwtZmVlZHw0OXx8fGVufDB8fHx8&auto=format&fit=crop&w=200&q=80'
						],
						views      : 62012
					},
				],
				loading:true
			}
		},
		onLoad() {
			setTimeout(() => {
				this.loading = false
			}, 1000)
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
